package com.lancer.designPattren.c01simpleFactory;

/**
 * 加法类
 */
public class OperationAdd extends Operation{
    @Override
    public double getResult() {
        return this.get_numberA() + this.get_numberB();
    }
}
